package com.deep.order.feign;

import com.deep.order.model.vo.OrderItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author Deep
 * @date 2022/2/14
 */
@FeignClient("mall-cart")
public interface CartFeignService {
    /**
     * 查询当前用户购物车选中的商品项
     */
    @GetMapping(value = "/api/cart/currentUserCartItems")
    List<OrderItemVO> getCurrentCartItems();

}
